package com.aaa.common.bo;

import java.util.List;

/**
 * @Author: YuXin
 * @Date : Created in 2020/11/9 16:37
 * @ClassName : TreeNode
 * @Description : 树节点  所有项目中 只要有树形结构业务的都可以使用该实体
 * @Package_Name : com.aaa.common.bo
 */
public class TreeNode {
    private int id;
    private String label;
    private int parentId;
    private String icon;
    private String url;
    private List<TreeNode> children;
    private String visible;

    private String title;
    private List<TreeNode> subs;
    private String index;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public List<TreeNode> getSubs() {
        return subs;
    }

    public void setSubs(List<TreeNode> subs) {
        this.subs = subs;
    }

    public String getIndex() {
        return index;
    }

    public void setIndex(String index) {
        this.index = index;
    }

    public String getVisible() {
        return visible;
    }

    public void setVisible(String visible) {
        this.visible = visible;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public int getParentId() {
        return parentId;
    }

    public void setParentId(int parentId) {
        this.parentId = parentId;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public List<TreeNode> getChildren() {
        return children;
    }

    public void setChildren(List<TreeNode> children) {
        this.children = children;
    }
}
